<script type="text/javascript" src="js1/jquery.js"></script>
		<script type="text/javascript" src="js1/date.js"></script>

     	<script type="text/javascript" src="js1/jquery_002.js"></script>
        <link rel="stylesheet" type="text/css" media="screen" href="js1/datePicker.css">
		<script type="text/javascript" charset="utf-8">
Date.firstDayOfWeek = 0;
Date.format = 'yyyy-mm-dd';
$(function()
{
	$('.date-pick').datePicker()
})
		</script>
<div class="mainWarpArea">

    <!-- Begin contentwarp -->
    <div class="contentwarp">
      <div id="register" style="background-color:#FFF;float:left;width:740px;border:1px solid #CCC;">
        <!-- Begin ContentBox -->
        <?php
		if($_GET['view']=="advertise_jobs") 
		{
		?>
<h2 style="padding-left: 20px;" class="classifiedstitle"></h2>
<form method="post" action="index.php?page=jobs&view=advertise_jobs&step=2" enctype="multipart/form-data" class="reg" name="theForm" onsubmit="return ValidateForm1();">


  <table width="100%" align="center" border="0" cellpadding="0" cellspacing="0">
    <tbody><tr>
      <td valign="middle" align="left">&nbsp;</td>
    </tr>
    <tr>
      <td valign="middle" align="center">
      <fieldset class="borders" style="width: 600px;">
    <legend class="gray12">›Step 1 ‹</legend>
    <div id="error_msg" style="color:#F00; width:300px;"></div>
      <table width="99%" align="center">
        <tbody>
        <tr bgcolor="#E3E3E3">
      
          <td colspan="3"style="padding-left: 20px;" class="font12" valign="middle" width="36%" align="left">Your Details</td>
         
        </tr>
        <tr height="35">
            <td style="padding-left: 20px;" valign="middle" width="14%" align="left">&nbsp;</td>
            <td style="padding-left: 20px;" class="font12" valign="middle" width="36%" align="left">Job Title *</td>
          <td valign="middle" align="left"><input class="text" id="title" name="title" style="width: 200px;" type="text" value="<?php 
		  echo $_SESSION['title'];?>"></td>
        </tr>
        <tr height="35">
            <td style="padding-left: 20px;" valign="middle" align="left">&nbsp;</td>
            <td style="padding-left: 20px;" class="font12" valign="middle" align="left">Job Description *</td>
         <td valign="middle" align="left"><textarea name="desc" id="desc" cols="30" rows="5"><?php 
		  echo $_SESSION['desc'];?></textarea>
      </td>
        </tr>
        <tr height="35">
            <td style="padding-left: 20px;" valign="middle" align="left">&nbsp;</td>
            <td style="padding-left: 20px;" class="font12" valign="middle" align="left"><label>Search Results Job Title *</label></td>
          <td valign="middle" align="left"><input class="text"  id="searchtittle" name="searchtittle" style="width: 200px;" type="text" value="<?php 
		  echo $_SESSION['searchtittle'];?>"></td>
        </tr>
       
        <tr height="35">
            <td style="padding-left: 20px;" valign="middle" align="left">&nbsp;</td>
            <td style="padding-left: 20px;" class="font12" valign="middle" align="left">Search results summary *</td>
          <td valign="middle" align="left"><textarea name="summary" id="summary" cols="30" rows="5"><?php 
		  echo $_SESSION['summary'];?></textarea></td>
        </tr>
         <tr bgcolor="#E3E3E3">
      
          <td colspan="3"style="padding-left: 20px;" class="font12" valign="middle" width="36%" align="left">Managing applications</td>
         
        </tr>
        <tr height="35">
            <td style="padding-left: 20px;" valign="middle" align="left">&nbsp;</td>
            <td style="padding-left: 20px;" class="font12" valign="middle" align="left">Closing date *(mm/dd/yy)</td>
          <td valign="middle" align="left">
            <div id="container">
           
			<form name="chooseDateForm" id="chooseDateForm" action="#">
				
							<input  name="date1" id="date1" class="date-pick dp-applied" value="<?php 
		  echo $_SESSION['cdate'];?>">
          	</form>
			
        </div>
          </td>
        </tr>
        <tr height="35">
            <td style="padding-left: 20px;" valign="middle" align="left">&nbsp;</td>
            <td style="padding-left: 20px;" class="font12" valign="middle" align="left">Your email *</td>
          <td valign="middle" align="left"><input class="text" name="email" id="email" style="width: 200px;" type="text" value="<?php 
		  echo $_SESSION['email'];?>"></td>
        </tr>
        <tr height="35">
            <td style="padding-left: 20px;" valign="middle" align="left">&nbsp;</td>
            <td style="padding-left: 20px;" class="font12" valign="middle" align="left">Company name *</td>
          <td valign="middle" align="left"><input class="text" id="cname"  name="cname" style="width: 200px;" type="text" value="<?php 
		  echo $_SESSION['cname'];?>" ></td>
        </tr>
        
        
        <tr height="35">
            <td colspan="3" valign="middle" align="right"></td>
          <td valign="middle" align="left">
   
         <input name="submit" type="submit" value="Next" /></td>
        </tr>
    </tbody></table>
    </fieldset>
      </td>
    </tr>
    <tr>
      <td valign="middle" align="left">&nbsp;</td>
    </tr>
  </tbody></table>
</form>
<?php }

else if(($_GET['view']=='search_jobs') or ($_GET['view']==""))
{
	include('search_job.php');
}

?>


      </div>      
      
      <?php include("includes/right_content.php");?>
      <!-- End contentwarp -->
      <div style="clear:both;"></div>
      
    </div>
    <!-- End mainWarpArea -->
  </div>